<!doctype html>
<html>
<head>
	<!-- css3 a formazasokhoz a feluleten -->
	<link href="Design.css" rel="stylesheet" type="text/css">
	<script type="text/javascript">
		function errorfind(){<!--atvesszuk az uzenetkodot ha van es kiirjuk a hozza tartozo uzenetet-->
			var tmp = decodeURI(
				(RegExp("error" + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1]
			);
			if (tmp == "true")
				alert("Invalid username/password!");
			if (tmp == "false")
				alert("Registration succesfully!");
			if (tmp == "session")
				alert("Session expired please login again!");
		}
		window.onload=errorfind();
	</script>
</head>
<Title>TBA Activity Registration || Main Page</Title>
<body>
<div id="subtitle">
<noscript>Enable javascript to correct function</noscript>
<!-- Username es password field-ek a bejelenkezesnel minde a ketto szukseges kitolteni -->
	<form action="BLL.php" method="get">
		<br>Username:
		<br><input size="20" name="username" required /><br>
		<br>Password:
		<br><input type="password" size="20" name="password" required /><br>
		<br><input type="submit" name="login" id="button" value="Login" />
	</form>
<!-- lehetoseg van registzralasra is ahol alapbol user jogot kap minde felhasznalo -->
<!-- admin jogosultsagot csak admin oszthat ki usernek-->
	<br><form action="registration.html"><input id="button" type="submit" value="Registration"/></form>
</div>
</body>
</html>
